package com.boatAnchorAssistant.pojo.enums.user;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author anni.zhu
 * @author anni.zhu@king-v.com
 * Created in 2024/11/11 11:44
 * 用户管理权限：0-普通权限 1-中级权限 2-高级权限
 */
@Getter
@AllArgsConstructor
public enum UserAuthorizedType {
    COMMON(0, "普通权限"),
    MIDDLE(1, "中级权限"),
    HIGH(2,"高级权限")
    ;
    @JsonValue
    @EnumValue
    private final Integer id;
    private final String name;

}
